﻿using huqiang.Communication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace huqiang.StringDataPro
{
    public class DebugCmd
    {
        public const UInt16 SetName = 0;
        public const UInt16 Log = 1;
        public const UInt16 Cmd = 2;
        public const UInt16 Lua = 3;
    }
    public class DebugDataHandle
    {
        public static void Handle(KcpUser link, UInt32 cmd, string str)
        {
            switch(cmd)
            {
                case DebugCmd.SetName:
                    (link as NetUser).ResetLog(str);
                    break;
            }
        }
    }
}
